<template>
  <el-dialog :visible="value" title="测试弹窗" @close="$emit('input', false)">
    <div>内容</div>
    <template #footer>
      <div style="text-align: center">
        <el-button @click="$emit('input', false)">取消</el-button>
        <el-button type="primary">确定</el-button>
      </div>
    </template>
  </el-dialog>
</template>
<script>
export default {
  props: {
    value: {
      type: Boolean,
      required: true
    }
  },
  data() {
    return {
      //   show: false
    }
  }
}
</script>
<style></style>
